package com.hsylient.config;

import org.springframework.context.annotation.*;

@Configuration
@ComponentScan("com.hsylient")
@PropertySource("classpath:application.properties")
public class AppConfig {
    @Bean
    @Conditional(ProCondition.class)
    public String getEnvByConditionOfPro() {
        return "生产环境";
    }
}
